package soccer.action;

public class SystemActions {
 private   AdminActions adminActions = null;
 private  PlayerActions playerActions = null;
 private  MatchActions matchActions = null;
 private  TeamActions teamActions = null;
 private CoachActions coachActions=null;
 private StatisticActions statisticActions = null;
 private  static SystemActions systemActions = null;
     public SystemActions(){
       playerActions = new PlayerActions();
       matchActions = new MatchActions();
       teamActions = new TeamActions();
       matchActions = new MatchActions();
       adminActions = new AdminActions();
       coachActions= new CoachActions();
       statisticActions = new StatisticActions();
     }
     
    public static  synchronized SystemActions getSystemActionsInstance(){
    	if(systemActions == null){
    		systemActions = new SystemActions();
    	}
    	return systemActions;
    }
	public PlayerActions getPlayerActions() {
		return playerActions;
	}
	public MatchActions getMatchActions() {
		return matchActions;
	}
	public TeamActions getTeamActions() {
		return teamActions;
	}

	public void setAdminActions(AdminActions adminActions) {
		this.adminActions = adminActions;
	}

	public AdminActions getAdminActions() {
		return adminActions;
	}

	public CoachActions getCoachActions() {
		return coachActions;
	}

	public void setCoachActions(CoachActions coachActions) {
		this.coachActions = coachActions;
	}

	public void setStatisticActions(StatisticActions statisticActions) {
		this.statisticActions = statisticActions;
	}

	public StatisticActions getStatisticActions() {
		return statisticActions;
	}   
	
}

